use serde::{Deserialize, Serialize};

// 连接配置
#[derive(Debug, Serialize, Deserialize)]
pub struct ConnectionConfig {
    pub username: String,
    pub password: String,
    pub domain: String,
    pub display_name: Option<String>,
    pub transport: String,
}

// 连接结果
#[derive(Debug, Serialize, Deserialize)]
pub struct ConnectionResult {
    pub success: bool,
    pub message: String,
}

// 呼叫参数
#[derive(Debug, Serialize, Deserialize)]
pub struct MakeCallArgs {
    pub target: String,
}

// 呼叫结果
#[derive(Debug, Serialize, Deserialize)]
pub struct MakeCallResult {
    pub success: bool,
    pub message: String,
}


